import 'package:backend.core/core/domain/entities/access_token_claim.dart';
import 'package:equatable/equatable.dart';

class AccessToken extends Equatable {
  const AccessToken({
    required this.claim,
    required this.expirationTime,
    required this.data,
  });

  final AccessTokenClaim claim;
  final DateTime expirationTime;
  final String data;

  @override
  List<Object?> get props {
    return [
      claim,
      expirationTime,
      data,
    ];
  }
}
